@layout("/common/_container.html",{js:["/assets/basic/basicPutgoods/index_clm_add.js"]}){
<style>
	.layui-badge-rim, .layui-colla-content, .layui-colla-item, .layui-collapse, .layui-elem-field, .layui-form-pane .layui-form-item[pane], .layui-form-pane .layui-form-label, .layui-input, .layui-layedit, .layui-layedit-tool, .layui-quote-nm, .layui-select, .layui-tab-bar, .layui-tab-card, .layui-tab-title, .layui-tab-title .layui-this:after, .layui-textarea {
    	border-color: #89d19d;
    }
    .layui-form-pane .layui-form-label {
   	 	background-color: #e6e6e6;
	}
</style>
<div class="layui-body-header">
    <span class="layui-body-header-title">添加</span>
</div>

<div class="layui-fluid " style="">
    <div class="layui-card">
        <div class="layui-card-body">
            <form id="basicPutgoodsForm" lay-filter="basicPutgoodsForm" class="layui-form layui-form-pane" style="max-width: 700px;margin: 40px auto;">
                <input name="id" type="hidden"/>
                <div class="layui-form-item">
                    <label class="layui-form-label" style="font-weight: 600;">仓库名称<span style="color: red;">*</span></label>
                    <div class="layui-input-block">
                        <input type="text" id="warehouseName" readonly name="warehouseName" value="${warehouseName}" lay-verify="required" required  autocomplete="off" class="layui-input">
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label" style="font-weight: 600;">门店名称<span style="color: red;">*</span></label>
                    <div class="layui-input-block">
                        <select id="storeId" name="storeId" lay-filter="storeId" lay-verify="required" required>
                            @for(item in putgoods){
                            <option value="${item.id}">${item.putgoodsName}</option>
                            @}
                        </select>
                    </div>
                </div>
                <div class="layui-form-item" style="display: none;">
                    <label class="layui-form-label" style="font-weight: 600;">仓库<span style="color: red;">*</span></label>
                    <div class="layui-input-block">
                       <input type="text" id="warehouseId" name="warehouseId" value="${warehouseId}"  required placeholder="请输入仓库id" autocomplete="off" class="layui-input">
                    </div>
                </div>


                

                <div class="layui-form-item">
                    <div class="layui-input-block">
                        <button class="layui-btn" lay-filter="btnSubmit" lay-submit>&emsp;提交&emsp;</button>
                        <button class="layui-btn layui-btn-primary" type="button" id="backupPage">&emsp;返回&emsp;</button>
                    </div>
                </div>
            </form>
        </div>
    </div>
</div>

@}